import Vue from "vue";
import { Tabbar, TabItem } from "mint-ui";
import "amfe-flexible";
import "amfe-flexible/index.js";
import "normalize.css";
import "mint-ui/lib/style.css";
import { Button } from "mint-ui";
import VueTouch from "vue-touch";
import { Switch } from "mint-ui";
import { Popup } from "mint-ui";
import { Cell } from "mint-ui";
import { Checklist } from "mint-ui";
import "../assets/style.css";

Vue.use(VueTouch, { name: "v-touch" });
VueTouch.config.swipe = {
  threshold: 100,
};

Vue.component(Checklist.name, Checklist);
Vue.component(Cell.name, Cell);
Vue.component(Popup.name, Popup);
Vue.component(Switch.name, Switch);
Vue.component(Button.name, Button);
Vue.component(Tabbar.name, Tabbar);
Vue.component(TabItem.name, TabItem);
